package com.artislong.config;

import com.artislong.servlet.McpClientServlet;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author 陈敏
 * @version McpClientServletConfiguration.java, v 1.0 2025 07 09 16:55 chenmin Exp $
 * Created on 2025 07 09
 */
@Configuration
public class McpClientServletConfiguration implements WebMvcConfigurer {

    @Bean
    public ServletRegistrationBean<McpClientServlet> mcpClientServletServletRegistrationBean() {
        return new ServletRegistrationBean<>(new McpClientServlet());
    }

}
